package com.lee9213.demo.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lee9213.demo.biz.IUserBiz;

/**
 * @author libo
 * @version 1.0
 * @date 2017/11/9 11:14
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    private IUserBiz userBiz;

    @RequestMapping("update")
    public String update() {
        userBiz.update(null);
        return "ok";
    }

}
